# Tell Android where to locate source files
# "my-dir" is a macro function which will return the path of the current directory(where Android.mk resides)
LOCAL_PATH := $(call my-dir)

# Clear contents of the LOCAL_* variables
include $(CLEAR_VARS)

# All the folder to look for source code
# LOCAL_C_INCLUDES += 

# All the source files to include in this module
LOCAL_SRC_FILES := krayserkraw.cpp

# The name of the module
LOCAL_MODULE := krayserkraw

# Compilation flags
LOCAL_CFLAGS := -Wfatal-errors

LOCAL_CPPFLAGS += -fexceptions


# Static libraries to link with
LOCAL_LDLIBS := -llog -landroid -lEGL -lGLESv2 -lz

LOCAL_STATIC_LIBRARIES := android_native_app_glue 

# Build the module
include $(BUILD_SHARED_LIBRARY)

$(call import-module,android/native_app_glue)
